<?php 
if ($hit) {
 ?>

<div class="giaitri_b1">
        <h2> Xem nhiều nhất</h2>
        <div class="top"></div>
        <div class="ct">
              
              <div class="listnew listnewcate">
            <ul>
        <?php 
        foreach ($hit as $row) {
            $url = url($row->calias.'/chi-tiet/'.$row->alias);
            $title = $row->title;
         ?>
              <li> <a href="<?php echo $url ?>"> <?php echo $title ?></a> </li>
        <?php 
        }
         ?>     
                  
                </ul>
          </div>
            </div>
        <div class="bottom"></div>
</div> 
<?php 
}
 ?>